package com.crl.ssc.dic.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotEmpty;
import com.cars.util.validation.UpdateValidGroup;
import java.util.Date;
/**
 * @description: 字典管理-人员字典DTO
 * @author: MqSql
 * @version: 1.0
 * @date: 2020-08-05 00:32:29
 */
@Data
@ApiModel("人员字典")
public class DicPersonDTO {

	@ApiModelProperty("id")
	private Integer id; //id

	@ApiModelProperty("姓名")
	@NotEmpty
	@Length(max = 10)
	private String name; //姓名

	@ApiModelProperty("年龄")
	private Integer age; //年龄

	@ApiModelProperty("身高")
	private Float height; //身高

	@ApiModelProperty("生日")
	private Date birth; //生日

	@ApiModelProperty("创建日期")
	private Date create1; //创建日期

	@ApiModelProperty("测试")
	@Length(max = 255)
	private String test; //测试



}
